##
## Makefile for push_swap in /home/nadali_t//local/Projets/CprgElem/pushswap
## 
## Made by thomas nadalie
## Login   <nadali_t@epitech.net>
## 
## Started on  Thu Jan  5 15:31:30 2012 thomas nadalie
## Last update Fri Jan  6 15:34:56 2012 thomas nadalie
##

NAME	=   push_swap

SRC	=   main.c \
	    my_func.c \
	    my_display_list.c \
	    my_add_elem_in_tab.c \
	    my_del_elem_in_tab.c \
	    my_swap.c

OBJ	=   $(SRC:.c=.o)

CFLAGS	=   -W -Wall -I.

LDFLAGS=    -L. -lmy

all	:   $(NAME)

$(NAME)	:   $(OBJ)
	    $(CC) -o $(NAME) $(OBJ) $(LDFLAGS)

clean	:
	    rm -f $(OBJ)

fclean	:   clean
	    rm -f $(NAME)

re	:   fclean all
